﻿@using ES.Models
@model IList<ES.Models.Product>
<h3 style="height: 20px; border-bottom: 1px solid #f3f3f3;">
    Ürün Listesi @(string.IsNullOrEmpty(ViewBag.CategoryName) ? "" : " | " + ViewBag.CategoryName)</h3>
<ul class="orderlinks">
    <li>@UrlCreater.Create(ProductColumnEnum.Price, Request.Params)</li>
    <li>@UrlCreater.Create(ProductColumnEnum.Model, Request.Params)</li>
    <li>@UrlCreater.Create(ProductColumnEnum.Title, Request.Params)</li>
</ul>
<div class="tab-content" style="display: block; float: left;">
    <div class="items" style="width: 750px !important;">
        <div class="cl">
            &nbsp;</div>
        <ul>
            @foreach (var item in Model)
            {
                <li>
                    @{Html.RenderPartial("SimpleProduct", item);}
                    <p>
                      <a class="removebasketBtn" href="@Url.Action("AddBasket", "My", new { id = item.Id })">Sepete At</a>
                        <a class="saleBtn" href="@Url.Action("Sale", "Product", new { id = item.Id })">Satın Al </a>
                    </p>
                </li>
            }
        </ul>
        <div class="cl">
            &nbsp;</div>
    </div>
</div>
